<?php
	include_once("king_head.php");
?>

<?php
	include_once("ClsSebent/config.php");

	if("$action"=="Save" && $_SESSION['SITE_ID'] != ""){

		$sql="UPDATE site_home SET logo='$logo_name', logo_alt='$logo_alt' WHERE id=$_SESSION['SITE_ID']";
		//echo $sql;
		mysql_query($sql);

	}
	$sql="SELECT id,logo,logo_alt FROM site_home WHERE id=$_SESSION['SITE_ID']";

	$result = mysql_query($sql);
	if($row=mysql_fetch_array($result)){
		$logo=$row["logo"];
		$logo_alt=$row["logo_alt"];
	}
?>

<CENTER>
<H2> Create Reseller Account</H2>
<form method="post" onsubmit="javascript:return false;"><input type=hidden name=site_id value="<?php echo $_SESSION['SITE_ID']; ?>">
<TABLE>
<tr><td>User ID </td><td><input name=uid value="<?php echo $uid; ?>" size=40 maxlength=15></td></tr>
<tr><td>Password </td><td><input type=password name=pwd size=40  maxlength=15></td></tr>
<tr><td>Re-type Password </td><td><input type=password name=pwd1 size=40  maxlength=15></td></tr>
<tr><td colspan=2><BR><BR><FONT SIZE="1" face="verdana"><B><U>Personal Info</U></B></FONT></td></tr>
<tr><td>Full Name </td><td><input name=fname value="<?php echo $fname; ?>" size=40 maxlength=50></td></tr>
<tr><td>Email ID </td><td><input name=email value="<?php echo $email; ?>" size=40 maxlength=50></td></tr>
<tr><td>Contact No. </td><td><input name=contact_no value="<?php echo $contact_no; ?>" size=40 maxlength=20></td></tr>
<tr><td>Mobile No. </td><td><input name=contact_no value="<?php echo $contact_no; ?>" size=40 maxlength=20></td></tr>
<tr><td>Address</td><td><textarea rows="6" cols="35" name="address"><?php echo $address; ?></textarea></td></tr>
<tr><td>City</td><td><input name=city value="<?php echo $city; ?>" size=40 maxlength=20></td></tr>
<tr><td>Province</td><td><input name=province value="<?php echo $province; ?>" size=40 maxlength=20></td></tr>
<tr><td>Country</td><td><select class="dropdownbox" onchange="javascript:enb('country');"
              name="country" size="1">
                <option value="albania">Albania</option>
                <option value="algeria">Algeria</option>
                <option value="american samoa">American samoa</option>
                <option value="andoria">Andoria</option>
                <option value="andorra">Andorra</option>
                <option value="angola">Angola</option>
                <option value="anguilla">Anguilla</option>
                <option value="anitgua">Anitgua</option>
                <option value="antigua">Antigua</option>
                <option value="argentina">Argentina</option>
                <option value="armenia">Armenia</option>
                <option value="aruba">Aruba</option>
                <option value="australia">Australia</option>
                <option value="austria">Austria</option>
                <option value="azerbaijan">Azerbaijan</option>
                <option value="azerbiajan">Azerbiajan</option>
                <option value="bahamas">Bahamas</option>
                <option value="bahrain">Bahrain</option>
                <option value="bangladesh">Bangladesh</option>
                <option value="barbados">Barbados</option>
                <option value="belarus">Belarus</option>
                <option value="belgium">Belgium</option>
                <option value="belize">Belize</option>
                <option value="benin">Benin</option>
                <option value="bermuda">Bermuda</option>
                <option value="bhutan">Bhutan</option>
                <option value="boliva">Boliva</option>
                <option value="bolivia">Bolivia</option>
                <option value="bonaire">Bonaire</option>
                <option value="bosnia &amp; herzegovina">Bosnia &amp; herzegovina</option>
                <option value="botswana">Botswana</option>
                <option value="brazil">Brazil</option>
                <option value="brunei">Brunei</option>
                <option value="bulgaria">Bulgaria</option>
                <option value="burkina faso">Burkina faso</option>
                <option value="burundi">Burundi</option>
                <option value="cambodia">Cambodia</option>
                <option value="cameroon">Cameroon</option>
                <option value="canada">Canada</option>
                <option value="canary islands the">Canary islands the</option>
                <option value="cape varde">Cape varde</option>
                <option value="cape verde">Cape verde</option>
                <option value="cayman islands">Cayman islands</option>
                <option value="central african republic">Central african republic</option>
                <option value="chad">Chad</option>
                <option value="chile">Chile</option>
                <option value="china">China</option>
                <option value="china, peoples rep">China, peoples rep</option>
                <option value="colombia">Colombia</option>
                <option value="columbia">Columbia</option>
                <option value="comoros">Comoros</option>
                <option value="congo">Congo</option>
                <option value="congo, the democratic rep of">Congo, the democratic rep of</option>
                <option value="cook islands">Cook islands</option>
                <option value="costa rica">Costa rica</option>
                <option value="cote d" lvoire?>Cote d'lvoire</option>
                <option value="croatia">Croatia</option>
                <option value="cuba">Cuba</option>
                <option value="curacao">Curacao</option>
                <option value="cyprus">Cyprus</option>
                <option value="czech republic">Czech republic</option>
                <option value="czech republic the"> Czech republic the</option>
                <option value="denmark"> Denmark</option>
                <option value="djibouti">Djibouti</option>
                <option value="dominica">Dominica</option>
                <option value="dominican republic">Dominican republic</option>
                <option value="ecuador">Ecuador</option>
                <option value="egypt">Egypt</option>
                <option value="el salvador">El salvador</option>
                <option value="equatorial guinea">Equatorial guinea</option>
                <option value="eritrea">Eritrea</option>
                <option value="estonia">Estonia</option>
                <option value="ethiopia">Ethiopia</option>
                <option value="falkland islands">Falkland islands</option>
                <option value="faroe islands">Faroe islands</option>
                <option value="faroer islands">Faroer islands</option>
                <option value="fiji">Fiji</option>
                <option value="finland">Finland</option>
                <option value="france">France</option>
                <option value="french guana">French guana</option>
                <option value="french guyana">French guyana</option>
                <option value="french polynesia">French polynesia</option>
                <option value="gabon">Gabon</option>
                <option value="gambia">Gambia</option>
                <option value="georgia">Georgia</option>
                <option value="germany">Germany</option>
                <option value="ghana">Ghana</option>
                <option value="gibraltar">Gibraltar</option>
                <option value="greece">Greece</option>
                <option value="greenland">Greenland</option>
                <option value="grenada">Grenada</option>
                <option value="guadeloupe">Guadeloupe</option>
                <option value="guadeluoupe">Guadeluoupe</option>
                <option value="guam">Guam</option>
                <option value="guatemala">Guatemala</option>
                <option value="guernsey">Guernsey</option>
                <option value="guinea">Guinea</option>
                <option value="guinea republic">Guinea republic</option>
                <option value="guinea-bissau">Guinea-bissau</option>
                <option value="guyana">Guyana</option>
                <option value="guyana (british)">Guyana (british)</option>
                <option value="haiti">Haiti</option>
                <option value="honduras">Honduras</option>
                <option value="hong kong">Hong kong</option>
                <option value="hungary">Hungary</option>
                <option value="iceland">Iceland</option>
                <option value="india">India</option>
                <option value="indonesia">Indonesia</option>
                <option value="iran">Iran</option>
                <option value="ireland">Ireland</option>
                <option value="ireland republic of">Ireland republic of</option>
                <option value="israel">Israel</option>
                <option value="italy">Italy</option>
                <option value="italy">Italy</option>
                <option value="ivory coast">Ivory coast</option>
                <option value="jamaica">Jamaica</option>
                <option value="japan">Japan</option>
                <option value="jersey">Jersey</option>
                <option value="jordan">Jordan</option>
                <option value="kazakhstan">Kazakhstan</option>
                <option value="kenya">Kenya</option>
                <option value="kiribati">Kiribati</option>
                <option value="korea, republic of">Korea, republic of</option>
                <option value="korea, south">Korea, south</option>
                <option value="korea,d.pr of">Korea,d.pr of</option>
                <option value="kuwait">Kuwait</option>
                <option value="kyrgyzstan">Kyrgyzstan</option>
                <option value="lao peoples democratic republic">Lao peoples democratic republic</option>
                <option value="laos">Laos</option>
                <option value="latvia">Latvia</option>
                <option value="lebanon">Lebanon</option>
                <option value="lesotho">Lesotho</option>
                <option value="liberia">Liberia</option>
                <option value="libya">Libya</option>
                <option value="liechtenstein">Liechtenstein</option>
                <option value="lithuania">Lithuania</option>
                <option value="luxembourg">Luxembourg</option>
                <option value="macao">Macao</option>
                <option value="macau">Macau</option>
                <option value="macedonia">Macedonia</option>
                <option value="macedonia republic of (fyrom)">Macedonia republic of (fyrom)</option>
                <option value="madagascar"> Madagascar</option>
                <option value="malawi">Malawi</option>
                <option value="malaysia">Malaysia</option>
                <option value="maldives">Maldives</option>
                <option value="mali">Mali</option>
                <option value="malta">Malta</option>
                <option value="marinique">Marinique</option>
                <option value="marshall islands">Marshall islands</option>
                <option value="martinique">Martinique</option>
                <option value="mauritania">Mauritania</option>
                <option value="mauritiania">Mauritiania</option>
                <option value="mauritius">Mauritius</option>
                <option value="mexico">Mexico</option>
                <option value="micronesia">Micronesia</option>
                <option value="moldova">Moldova</option>
                <option value="moldova republic of">Moldova republic of</option>
                <option value="monaco">Monaco</option>
                <option value="mongolia">Mongolia</option>
                <option value="montserrat">Montserrat</option>
                <option value="morocco">Morocco</option>
                <option value="mozambique">Mozambique</option>
                <option value="myanmar">Myanmar</option>
                <option value="myanmar (burma)">Myanmar (burma)</option>
                <option value="namibia">Namibia</option>
                <option value="nauru republic of">Nauru republic of</option>
                <option value="nepal">Nepal</option>
                <option value="netherland antilles">Netherland antilles</option>
                <option value="netherlands">Netherlands</option>
                <option value="netherlands the">Netherlands the</option>
                <option value="nevis">Nevis</option>
                <option value="new caledonia">New caledonia</option>
                <option value="new zealand"> New zealand</option>
                <option value="nicaragua"> Nicaragua</option>
                <option value="niger">Niger</option>
                <option value="nigeria">Nigeria</option>
                <option value="niue">Niue</option>
                <option value="norway">Norway</option>
                <option value="oman">Oman</option>
                <option value="pakistan">Pakistan</option>
                <option value="palau">Palau</option>
                <option value="palestine authority">Palestine authority</option>
                <option value="panama">Panama</option>
                <option value="papua new guinea">Papua new guinea</option>
                <option value="paraguay">Paraguay</option>
                <option value="peru">Peru</option>
                <option value="peru">Peru</option>
                <option value="philippines">Philippines</option>
                <option value="poland">Poland</option>
                <option value="portugal">Portugal</option>
                <option value="puerto rico">Puerto rico</option>
                <option value="qatar">Qatar</option>
                <option value="reunion">Reunion</option>
                <option value="reunion island">Reunion island</option>
                <option value="romania">Romania</option>
                <option value="russia">Russia</option>
                <option value="russian federation">Russian federation</option>
                <option value="rwanda">Rwanda</option>
                <option value="saint lucia">Saint lucia</option>
                <option value="saint vincent"> Saint vincent</option>
                <option value="saipan"> Saipan</option>
                <option value="samoa">Samoa</option>
                <option value="sao tome &amp; principe">Sao tome &amp; principe</option>
                <option value="saudi arabia">Saudi arabia</option>
                <option value="saudia arabia">Saudia arabia</option>
                <option value="senegal">Senegal</option>
                <option value="seychelles">Seychelles</option>
                <option value="sierra leone">Sierra leone</option>
                <option value="singapore">Singapore</option>
                <option value="slovak republic">Slovak republic</option>
                <option value="slovakia">Slovakia</option>
                <option value="slovenia">Slovenia</option>
                <option value="solomon islands">Solomon islands</option>
                <option value="somalia">Somalia</option>
                <option value="south africa">South africa</option>
                <option value="spain">Spain</option>
                <option value="sri lanka">Sri lanka</option>
                <option value="st kitts and nevis">St kitts and nevis</option>
                <option value="st lucia">St lucia</option>
                <option value="st vincent">St vincent</option>
                <option value="st. barthelemy"> St. barthelemy</option>
                <option value="st. eustatius"> St. eustatius</option>
                <option value="st. kitts"> St. kitts</option>
                <option value="st. maarten">St. maarten</option>
                <option value="sudan">Sudan</option>
                <option value="suriname">Suriname</option>
                <option value="swaziland">Swaziland</option>
                <option value="sweden">Sweden</option>
                <option value="switzerland">Switzerland</option>
                <option value="syria">Syria</option>
                <option value="tahiti">Tahiti</option>
                <option value="taiwan">Taiwan</option>
                <option value="tajikistan">Tajikistan</option>
                <option value="tanzania">Tanzania</option>
                <option value="thailand">Thailand</option>
                <option value="togo">Togo</option>
                <option value="tonga">Tonga</option>
                <option value="trinidad &amp; tobago">Trinidad &amp; tobago</option>
                <option value="trinidad and tobago">Trinidad and tobago</option>
                <option value="tunisia">Tunisia</option>
                <option value="turkey">Turkey</option>
                <option value="turkmenistan">Turkmenistan</option>
                <option value="turks &amp; caicos islands">Turks &amp; caicos islands</option>
                <option value="turks and caicos islands"> Turks and caicos islands</option>
                <option value="tuvalu"> Tuvalu</option>
                <option value="uganda">Uganda</option>
                <option value="ukraine">Ukraine</option>
                <option value="united arab emirates">United arab emirates</option>
                <option value="united kingdom">United kingdom</option>
                <option value="united states" selected>United States</option>
                <option value="uruguay">Uruguay</option>
                <option value="uzbekistan">Uzbekistan</option>
                <option value="vanuatu">Vanuatu</option>
                <option value="vatican city">Vatican city</option>
                <option value="venezuela">Venezuela</option>
                <option value="vietnam">Vietnam</option>
                <option value="virgin island (gb)">Virgin island (gb)</option>
                <option value="virgin islands  british">Virgin islands british</option>
                <option value="virgin islands  us">Virgin islands us</option>
                <option value="virgin islands (usa)">Virgin islands (usa)</option>
                <option value="wallis &amp; futuna">Wallis &amp; futuna</option>
                <option value="yemen arab republic">Yemen arab republic</option>
                <option value="yugloslavia">Yugloslavia</option>
                <option value="zaire (dem rep of congo)">Zaire (dem rep of congo)</option>
                <option value="zambia">Zambia</option>
                <option value="zimbabwe">Zimbabwe</option>
                <option value="Others">Other</option>
              </select></td></tr>
<tr><td>Zip</td><td><input name=zip value="<?php echo $zip; ?>" size=40 maxlength=6></td></tr>
<tr><td colspan=2 align=center><input type=submit name=action value=Register></TD>
</TR>
</TABLE></form>
</CENTER>

<?php
	include_once("king_foot.php");
?>